package cn.iocoder.yudao.module.bpm.controller.admin.tohandle.sourceconfig.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 审批流待办中心——来源系统配置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BpmHandleSourceConfigPageReqVO extends PageParam {

    @Schema(description = "来源系统名称")
    private String sourceSystem;

    @Schema(description = "拼接规则")
    private String sourceUrlRule;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "更新时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] updateTime;

    @Schema(description = "创建人帐号")
    private String creator;

    @Schema(description = "更新人帐号")
    private String updater;

    @Schema(description = "false 有效；true 删除", example = "false")
    private Boolean deleted;

    @Schema(description = "1 正式；2 测试", example = "1")
    private Integer testFlag;

}
